<template>
  <div class="shopcarContainer">
    <!-- 商品列表区域 -->
    <div class="goods_list">
      <div class="mui-card">
        <div class="mui-card-content">
          <div class="mui-card-content-inner goods_item">
            <!-- 开关 -->
            <mt-switch></mt-switch>
            <!-- 图片 -->
            <img class="item_img" src="" alt="我是图片">
            <!-- 信息区域 -->
            <div class="">
              <!-- 当文字不够多时，宽度长会变小 -->
              <h1 class="item_title">小米手机16Gadfbadfbdfsbadfgadfgfba</h1>
              <div class="info">
                <div class="goods_info">
                  <span class="price">￥120</span>
                  <span>删除</span>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <!-- 结算区域 -->
      <div class="mui-card">
        <div class="mui-card-content">
          <div class="mui-card-content-inner jiesuan">
            <!-- 左侧 -->
            <div class="left">
              <p>总计(不含运费)</p>
              <p>
                已勾选商品
                <span class="danger"> 0</span> 件，总价
                <span class="danger">￥ 0</span>
              </p>
            </div>
            <!-- 中间部分引入 -->
            <!-- <nobox></nobox> -->
            <!-- 右侧 -->
            <mt-button type="danger">去结算</mt-button>

          </div>
        </div>
      </div>
    </div>
    <h1>ShopcarContainer</h1>
  </div>
</template>

<script>
// import axios from 'axios'
// import { MessageBox } from 'mint-ui'
// import Row from '@/components/Row'
// import nobox from '@/components/sub-components/shopcar_nobox.vue'
export default {
  name: 'ShopcarContainer',
  data () {
    return {

    }
  },
  methods: {

  },
  components: {
    // nobox
  }
}
</script>

<style lang="scss" scoped>
.shopcarContainer {
  background-color: #eee;
  overflow: hidden;
  // 商品列表区域
  .goods_item {
    display: flex;
    .item_img {
      width: 50px;
      height: 60px;
      margin: 0px 5px;
      border: 1px solid #ccc;
    }
    .item_title {
      font-size: 13px;
    }
    .info {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      .goods_info {
        display: flex;
        justify-content: space-between;
        .price {
          font-weight: bold;
          font-size: 16px;
          color: red;
        }
      }
    }
  }
  // 结算区域
  .jiesuan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .danger {
      font-size: 13px;
      color: red;
    }
  }
}
</style>
